package com.intellagric.service.agritech;

import com.intellagric.common.pojo.LayuiDataGridResult;
import com.intellagric.common.pojo.ResponseMessage;
import com.intellagric.module.agritech.AgtAgritechVo;
import com.intellagric.pojo.AgtAgritech;

/**
 * @Author: cwq
 * @Date: 2019/2/21 15:52
 * @Description:
 */
public interface AgritechService {
    //增加
    ResponseMessage addAgritech(AgtAgritech agritech);

    //删除
    ResponseMessage deleteAgritech(String id);

    //修改
    ResponseMessage editAgritech(AgtAgritech agritech);

    //查询
    AgtAgritech getAgritechById(String id);
    LayuiDataGridResult getAgritechList();

    LayuiDataGridResult getAgritechByPage(int page, int limit);

    LayuiDataGridResult getAgritechListByVo(AgtAgritechVo agtAgritechVo, int page, int limit);
}
